package com.vben.system.biz.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.vben.system.api.entity.SysUserLoginLog;
import com.vben.system.biz.mapper.SysUserLoginLogMapper;
import com.vben.system.biz.service.SysUserLoginLogService;
import org.springframework.stereotype.Service;

/**
 * @author sunn
 */
@Service
public class SysUserLoginLogServiceImpl extends ServiceImpl<SysUserLoginLogMapper, SysUserLoginLog> implements SysUserLoginLogService {

    @Override
    public SysUserLoginLog getByLoginId(String loginId) {
        return lambdaQuery().eq(SysUserLoginLog::getLoginId, loginId).one();
    }
}




